home *** CD-ROM | disk | FTP | other *** search
- Path: geraldo.cc.utexas.edu!usenet
- From: scottg@weiss.che.utexas.edu (Gavin Scott)
- Newsgroups: comp.lang.c++
- Subject: Help: iostream.h and MSVC++4.0
- Date: 14 Feb 1996 06:22:07 GMT
- Organization: University of Texas at Austin
- Message-ID: <4frv2f$2j3@geraldo.cc.utexas.edu>
- NNTP-Posting-Host: slip-63-16.ots.utexas.edu
- Mime-Version: 1.0
- X-Newsreader: WinVN 0.99.3
-
- I'm just beginning to learn C++ and recently bought Stroustrup's book "The
- C++ Programming Language." In his example code, iostream.h is used
- exclusively for input/output. Upon trying to compile some of his programs
- and receiving a lot of error messages, I looked up "iostream" in the
- Visual C++ books online and came up with this:
-
- "You can use iostream classes with the Microsoft« Windows« operating
- system. String and file streams work without restrictions, but the
- character-mode stream objects cin, cout, cerr, and clog are inconsistent
- with the Windows graphical user interface."
-
- A typical output for the programs in the book looks like:
-
- "cout << "Hello World!\n"
-
- Is there any way to get these programs to run on MSVC++?
-
- Thanks,
- Gavin Scott
-
-